package com.fahai.web.entity;

import lombok.Data;

import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Date;

/**
 *
 */
@Data
public class SkuInfo {
    @Id
    private Integer skuid;

    private Integer proid;

    private String skusn;

    private Integer skuType;

    private String zdlscode;

    private String skuname;

    private String skucomment;

    private Integer skutoprice;

    private Integer skudeprice;

    private Integer skutime;

    private Integer publishNum;

    private Integer publishUnum;

    private Integer isFee;

    private Integer skuisopen;

    private Integer skustates;

    private Date skuStarTime;

    private Date skuEndTime;

    private Date createTime;

    private Timestamp updateTime;

    private String bak;

    private String bak1;

    private String bak2;
    private String skuPublish;

    public Integer getSkuid() {
        return skuid;
    }

    public void setSkuid(Integer skuid) {
        this.skuid = skuid;
    }

    public Integer getProid() {
        return proid;
    }

    public void setProid(Integer proid) {
        this.proid = proid;
    }

    public String getSkusn() {
        return skusn;
    }

    public void setSkusn(String skusn) {
        this.skusn = skusn == null ? null : skusn.trim();
    }

    public Integer getSkuType() {
        return skuType;
    }

    public void setSkuType(Integer skuType) {
        this.skuType = skuType;
    }

    public String getZdlscode() {
        return zdlscode;
    }

    public void setZdlscode(String zdlscode) {
        this.zdlscode = zdlscode == null ? null : zdlscode.trim();
    }

    public String getSkuname() {
        return skuname;
    }

    public void setSkuname(String skuname) {
        this.skuname = skuname == null ? null : skuname.trim();
    }

    public String getSkucomment() {
        return skucomment;
    }

    public void setSkucomment(String skucomment) {
        this.skucomment = skucomment == null ? null : skucomment.trim();
    }

    public Integer getSkutoprice() {
        return skutoprice;
    }

    public void setSkutoprice(Integer skutoprice) {
        this.skutoprice = skutoprice;
    }

    public Integer getSkudeprice() {
        return skudeprice;
    }

    public void setSkudeprice(Integer skudeprice) {
        this.skudeprice = skudeprice;
    }

    public Integer getSkutime() {
        return skutime;
    }

    public void setSkutime(Integer skutime) {
        this.skutime = skutime;
    }

    public Integer getPublishNum() {
        return publishNum;
    }

    public void setPublishNum(Integer publishNum) {
        this.publishNum = publishNum;
    }

    public Integer getPublishUnum() {
        return publishUnum;
    }

    public void setPublishUnum(Integer publishUnum) {
        this.publishUnum = publishUnum;
    }

    public Integer getIsFee() {
        return isFee;
    }

    public void setIsFee(Integer isFee) {
        this.isFee = isFee;
    }

    public Integer getSkuisopen() {
        return skuisopen;
    }

    public void setSkuisopen(Integer skuisopen) {
        this.skuisopen = skuisopen;
    }

    public Integer getSkustates() {
        return skustates;
    }

    public void setSkustates(Integer skustates) {
        this.skustates = skustates;
    }

    public Date getSkuStarTime() {
        return skuStarTime;
    }

    public void setSkuStarTime(Date skuStarTime) {
        this.skuStarTime = skuStarTime;
    }

    public Date getSkuEndTime() {
        return skuEndTime;
    }

    public void setSkuEndTime(Date skuEndTime) {
        this.skuEndTime = skuEndTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }



    public String getBak() {
        return bak;
    }

    public void setBak(String bak) {
        this.bak = bak == null ? null : bak.trim();
    }

    public String getBak1() {
        return bak1;
    }

    public void setBak1(String bak1) {
        this.bak1 = bak1 == null ? null : bak1.trim();
    }

    public String getBak2() {
        return bak2;
    }

    public void setBak2(String bak2) {
        this.bak2 = bak2 == null ? null : bak2.trim();
    }

}
